From: Hannu Nyman Date: Sun, 9 Nov 2025 06:36:33 +0000 (+0200) Subject: libsoxr: Add cmake 4.x compatibility X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=026302c6b26ea244463103baa04d5a51b237300b;p=feed%2Fpackages.git libsoxr: Add cmake 4.x compatibility Add compatibility with cmake 4.x. Signed-off-by: Hannu Nyman --- diff --git a/libs/libsoxr/Makefile b/libs/libsoxr/Makefile index b1b20f36ba..bc53a722f5 100644 --- a/libs/libsoxr/Makefile +++ b/libs/libsoxr/Makefile @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libsoxr PKG_VERSION:=0.1.3 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE_URL:=@SF/project/soxr/ PKG_SOURCE:=soxr-$(PKG_VERSION)-Source.tar.xz diff --git a/libs/libsoxr/patches/001-fix-cmake4.patch b/libs/libsoxr/patches/001-fix-cmake4.patch new file mode 100644 index 0000000000..f4e92e559a --- /dev/null +++ b/libs/libsoxr/patches/001-fix-cmake4.patch @@ -0,0 +1,11 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,7 +1,7 @@ + # SoX Resampler Library Copyright (c) 2007-18 robs@users.sourceforge.net + # Licence for this file: LGPL v2.1 See LICENCE for details. + +-cmake_minimum_required (VERSION 3.1 FATAL_ERROR) ++cmake_minimum_required (VERSION 3.10) + + project (soxr C) + set (DESCRIPTION_SUMMARY